package com.kongyz.visitor;

import com.kongyz.computer.Computer;
import com.kongyz.computer.Keyboard;
import com.kongyz.computer.Monitor;
import com.kongyz.computer.Mouse;

/**
 * @author kongyz
 * @date 2018/7/11 21:10
 * @Description: 访问者接口
 */
public interface ComputerPartVisitor {
    public void visit(Keyboard keyboard);
    public void visit(Monitor monitor);
    public void visit(Mouse mouse);
    public void visit(Computer computer);
}
